package com.cb.orderservice.service;

import com.cb.orderservice.entity.TOrder;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 订单 服务类
 * </p>
 *
 * @author Cebb
 * @since 2020-06-29
 */
public interface TOrderService extends IService<TOrder> {

    /**
     * 根据课程id和会员id创建订单
     * @param courseId
     * 课程id
     * @param memberId
     * 会员id
     * @return
     * 订单号
     */
    String createOrder(String courseId, String memberId);
}
